<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>loading...</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        body{
            background-color: #000040;
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }
        .loading{
            margin: 200px auto;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border-top: 10px solid #C2185B;
            position: relative;
            animation: round 1s linear infinite;    /* linear 匀速 */
        }
        .loading::before, .loading::after{
            content: '';    /* 没有content无法显示 */
            position: absolute;
            width: 200px;
            height: 200px;
            left: 0;
            top: -10px;
            border-radius: 50%;
        }
        .loading::before{
            border-top: 10px solid #7B1FA2;
            transform: rotate(120deg);
        }
        .loading::after{
            border-top: 10px solid #303F9F;
            transform: rotate(-120deg);
        }
        .loading-content{
            position: absolute;
            width: 200px;
            height: 200px;
            color: #fff;
            text-align: center;
            line-height: 200px;
            animation: reverseRound 1s linear infinite;
        }
        @keyframes round{
            0%{
                transform: rotate(0deg);
            }
            100%{
                transform: rotate(360deg);
            }
        } 
        @keyframes reverseRound{
            0%{
                transform: rotate(0deg);
            }
            100%{
                transform: rotate(-360deg);
            }
        } 

    </style>

</head>
<body>
    
    <div class="loading">
        <span class="loading-content">loading</span>
    </div>
</body>
</html>